package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 审批 视图
 *
 * @author code-generate
 * @date 2022-02-21
 */
@Data
@ApiModel(value = "CheckApproval 视图", description = "审批 视图")
public class CheckApprovalVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * 巡检上报id
     */
    @ApiModelProperty(value = "巡检上报id")
    @Excel(name = "巡检上报id", orderNum = "0")
    private String approvalId;

    /**
     * 0:巡检上报,1:企业申诉
     */
    @ApiModelProperty(value = "0:巡检上报,1:企业申诉")
    @Excel(name = "0:巡检上报,1:企业申诉", orderNum = "0")
    private String type;

    /**
     * 审批人ID
     */
    @ApiModelProperty(value = "审批人ID")
    @Excel(name = "审批人ID", orderNum = "0")
    private Integer userId;

    /**
     * 审批人
     */
    @ApiModelProperty(value = "审批人")
    @Excel(name = "审批人", orderNum = "0")
    private String userName;

    /**
     * 审批时间
     */
    @ApiModelProperty(value = "审批时间")
    @Excel(name = "审批时间", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime date;

    /**
     * 意见
     */
    @ApiModelProperty(value = "意见")
    @Excel(name = "意见", orderNum = "0")
    private String content;

    /**
     * 审批结果
     */
    @ApiModelProperty(value = "审批结果")
    @Excel(name = "审批结果", orderNum = "0")
    private String result;


}
